[FAILED]

Результат функционального тестирования

1 из 64 тестов завершилось с ошибкой.

[FAILED]  clear

  1. http://localhost:5000/api/service/status
    Ожидание Реальность
    1
    {
    {
    1
    2
      "forum": 0,
    3
      "post": 0,
    4
      "thread": 0,
    5
      "user": 0
      "forum": 181,
    2
      "post": 2845,
    3
      "thread": 239,
    4
      "user": 524
    5
    6
    }
    }
    6
    Запрос
    GET http://localhost:5000/api/service/status HTTP/1.1
    Accept: application/json
    
    
    Ответ
    HTTP/1.1 200 OK
    Content-Length: 49
    Content-Type: application/json
    Date: Tue, 17 Dec 2019 22:01:33 GMT
    
    
    {
      "forum": 181,
      "post": 2845,
      "thread": 239,
      "user": 524
    }
    Ожидался ответ вида
    HTTP/1.1 200 OK
    Content-Length: 57
    Content-Type: application/json
    
    
    {
      "forum": 0,
      "post": 0,
      "thread": 0,
      "user": 0
    }